﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YmtUserAuth.DataImport
{
    public class UserCredentialEqualityComparer : IEqualityComparer<UserCredential>
    {
        public bool Equals(UserCredential x, UserCredential y)
        {
            return x._id==y._id;
        }

        public int GetHashCode(UserCredential obj)
        {
            return obj._id.GetHashCode();
        }
    }
}
